package com.dingli.framework.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 CREATE TABLE `member` (
 mb_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '会员ID',
 `mb_name` varchar(11) DEFAULT NULL COMMENT '会员名称',
 `mb_company` varchar(20) DEFAULT NULL COMMENT '企业名称',
 `password` varchar(255) DEFAULT NULL COMMENT '密码',
 `phone` char(11) DEFAULT NULL COMMENT '会员电话',
 `mb_esemail` varchar(255) DEFAULT NULL COMMENT '企业邮箱',
 `mb_eseprovince` varchar(255) DEFAULT '' COMMENT '省',
 `mb_esecity` varchar(255) DEFAULT NULL COMMENT '市',
 `mb_eseregion` varchar(255) DEFAULT NULL COMMENT '区',
 `mb_state` int(2) NOT NULL COMMENT '审核状态（0审核中，1通过，2不通过）',
 PRIMARY KEY (`mb_id`)
 ) ENGINE=InnoDB AUTO_INCREMENT=1010 DEFAULT CHARSET=utf8;
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("会员表")
public class Member {
    @ApiModelProperty("会员ID")
    private int mbId;

    @ApiModelProperty("会员名称")
    private String mbName;

    @ApiModelProperty("企业名称")
    private String mbCompany;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("会员电话")
    private String phone;

    @ApiModelProperty("企业邮箱")
    private String mbEsemail;

    @ApiModelProperty("省")
    private String mbEseprovince;

    @ApiModelProperty("市")
    private String mbEsecity;

    @ApiModelProperty("区")
    private String mbEseregion;

    @ApiModelProperty("审核状态（0审核中，1通过，2不通过）")
    private int mbState;


}
